﻿@{
    Layout = "~/Views/Shared/OA/_Layout.cshtml";
    ViewBag.Title = "登录" + CommonAppService.Current.GetSettingValue("Common_Management", "Name");
}
<link href="~/App_Content/Theme/OA/Login.css" rel="stylesheet" type="text/css" />
<div id="lay-header">
    <div class="header">
        <div class="wrap">
            <div class="logo">
                @if (string.IsNullOrEmpty(CommonAppService.Current.GetSettingValue("Common_Management", "Logo")))
                {
                    <h1>
                        福人集团
                        @CommonAppService.Current.GetSettingValue("Common_Management", "Name")
                    </h1>
                }
                else
                {
                    <img alt="Logo" src="@CommonAppService.Current.GetSettingValue("Common_Management", "Logo")" />
                }
            </div>
        </div>
    </div>
</div>
<div id="lay-main">
    <div id="offer" class="offer">
    </div>
    <div class="login">
        <h1 style="text-align:center;">
            汽湃智讯
        </h1>
        @Html.Action("Login", "User", new { Area = "Common" })
    </div>
    <div class="clear">
    </div>
</div>
<div id="lay-footer">
    <div class="footer">
        @*© 2017菛客 版权所有 <a href="http://www.miibeian.gov.cn" target="_blank" style="color:#999;">闽ICP备17013345号-1</a>*@
    </div>
</div>
<script>
    jQuery(function ()
    {
        if ($.browser.msie && ($.browser.version == 6.0) && !$.support.style)
        {
            window.location = "/App_Content/Html/Browser.htm";
        }
        else if ($.browser.msie && ($.browser.version == 7.0) && !$.support.style)
        {
            window.location = "/App_Content/Html/Browser.htm";
        }

        $("#offer div").hover
        (
            function (e)
            {
                var div = $(e.currentTarget);
                kendo.fx(div.find(".description").css("display", "block")).tile("left", div.find(".icon")).play();
            },
            function (e)
            {
                var div = $(e.currentTarget);
                kendo.fx(div.find(".description")).tile("left", div.find(".icon")).reverse();
            }
        );
    });
</script>
